package ClassDay3;

import ClassDay3.Service.Service;
import ClassDay3.Service.Servlet2;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@ComponentScan("ClassDay3")
@PropertySource({"classpath:package.properties"})//导入pro文件
@Import({Servlet2.class, Service.class})
public class ScanComp {
}
